const path = require('path');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const HtmlWebPackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const base = require('./webpack.config');
const { default: merge } = require('webpack-merge');

delete base.devServer;
delete base.devtool;

module.exports = merge(base, {
  optimization: {
    minimize: true
  },
});
